//
//  WYWDownLoaderManager.h
//  WYWDownloader
//
//  Created by Mr.Run on 2017/11/8.
//  Copyright © 2017年 Mr.Run. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "WYWDownLoader.h"

@interface WYWDownLoaderManager : NSObject

+(instancetype)shareInstance;

-(void)downLoader:(NSURL*)url downLoadInfo:(DownLoadInfoType)downLoadInfo progress:(ProgressBlockType)progress success:(SuccessBlockType)success failed:(FailedBlockType)failed;

-(void)pauseWithURL:(NSURL *)url;
-(void)resumeWithURL:(NSURL *)url;
-(void)cancelWithURL:(NSURL *)url;

-(void)pauseAll;
-(void)resumeAll;
@end
